@import '../../common/styles/theme/default.less';

.hr-forms {
  .hr-form-item-hidden {
    display: none;
  }
  .hr-input {
    .am-input-control {
      margin-right: 10px;
    }
    .am-input-extra {
      margin-left: 0;
      color: @font-color-primary;
      font-weight: 600;
    }
    input {
      font-size: 30px;
      text-align: right;

      &::placeholder {
        color: @font-color-third;
      }
    }

    .am-input-label {
      color: @font-color-primary;
      font-weight: 600;
      font-size: 30px;
    }
  }

  .hr-form-header {
    display: flex;
    align-items: center;
  }

  .hr-form-check {
    width: 28px;
    height: 28px;
    margin-left: 16px;

    &.actived {
      color: #21c67f;
    }
  }

  .ant-form-item-explain {
    display: none;
  }

  .am-list-item .am-list-line .am-list-content {
    flex-basis: 375px;
    white-space: pre-wrap;
  }

  .am-list-item .am-input-label.am-input-label-7 {
    width: 320px;
    white-space: pre-wrap;
  }

  .am-list-item.am-input-item {
    height: auto;
    min-height: 88px;
  }
  .am-list .am-list-item.am-textarea-item {
    flex: 1;
  }

  .hr-form-collapsep-panel .am-list-body .am-list-line {
    border-bottom: none !important;
  }
  .am-list-body .am-list-line {
    border-bottom: 1px solid #ddd;
  }
  .am-list:last-child {
    .am-list-body .am-list-line {
      border: none;
    }
  }

  .am-list:last-child .am-list-body {
    border-bottom: none;
  }

  .am-textarea-control {
    margin-left: 10px;
  }

  .hr-form-collapsep-panel {
    .hr-upload-collapse {
      width: calc(100% - 68px);
      margin: 32px auto;
      border: 2px solid rgba(242, 242, 242, 1);
      border-radius: 10px;
      box-shadow: 0 34px 46px -32px rgba(203, 202, 202, 0.5);
    }
  }

  .hr-upload-collapse {
    .am-accordion-header {
      height: 78px;
    }

    .hr-collapse-header {
      color: @font-color-primary;
      font-weight: 600;
      font-size: 30px;
    }

    .am-accordion-content-box {
      padding: 32px 14px 27px 14px;
      border-bottom: none !important;
    }

    .hr-collapse-panel {
      margin-bottom: 0;
    }

    .arrow,
    .hr-collapse-header-extra {
      display: none !important;
    }
  }

  .hr-no-collapse-panel {
    .am-list-body {
      background-color: transparent;
      border: none;
    }

    .hr-collapse {
      margin-bottom: 0;
    }

    .hr-list-body-wrapper {
      margin-bottom: 34px;
      overflow: hidden;
      border-radius: 10px;
    }
  }
}
.am-number-keyboard-wrapper {
  user-select: none;
}
.am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm {
  &.am-number-keyboard-item-disabled,
  &.am-number-keyboard-item-active {
    background-color: @brand-primary !important;
  }
}
.am-number-keyboard-wrapper table tr .am-number-keyboard-item {
  vertical-align: middle;
}
